package edu.luas.digitalmedia.service;

import edu.luas.digitalmedia.dao.UserDao;
import edu.luas.digitalmedia.pojo.User;

public class UserService {
    public int insert(User model) throws Exception{
        return new UserDao().insert(model);
    }
    public boolean authenticateUser(String username, String password) throws Exception{
        return new UserDao().authenticateUser(username,password);
    }
}
